/**
 * @description GoodsPhoto 装修项目表
 * @author LI
 */

const seq = require('../sequelize')
const { STRING, INTEGER, DECIMAL } =require('../types')

// DecoratItems DecoratItem 写入到数据库时为 DecoratItems
const DecoratItem = seq.define('decoratItem', {
  itemSn: {
    type: STRING,
    allowNull: false,
    comment: '项目编号'
  },
  itemName: {
    type: STRING,
    allowNull: false,
    comment: '项目名称'
  },
  itemPrice: {
    type: DECIMAL,
    allowNull: false,
    comment: '参考价/元'
  },
  itemUnit: {
    type: STRING,
    allowNull: false,
    comment: '项目单位'
  },
  itemRemark: {
    type: STRING,
    comment: '项目备注'
  },
  remark: {
    type: STRING,
    comment: '要求，备注'
  },
  reserve: {
    type: STRING,
    comment: '保留字段'
  }
},
{
  comment: '装修项目表',
})

module.exports = DecoratItem
